package com.ww;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动程序
 *
 */
@MapperScan("com.ww.**.mapper")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GeneratorApplication {
    public static void main(String[] args) {
        System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(GeneratorApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  代码生成项目启动   ლ(´ڡ`ლ)ﾞ  \n" +
                " _______  _______ _________ _       _________      \n" +
                "(  ____ )(  ____ )\\__   __/( (    /|\\__   __/    \n" +
                "| (    )|| (    )|   ) (   |  \\  ( |   ) (        \n" +
                "| (____)|| (____)|   | |   |   \\ | |   | |        \n" +
                "|  _____)|     __)   | |   | (\\ \\) |   | |       \n" +
                "| (      | (\\ (      | |   | | \\   |   | |       \n" +
                "| )      | ) \\ \\_____) (___| )  \\  |   | |      \n" +
                "|/       |/   \\__/\\_______/|/    )_)   )_(  ");
    }
}
